{% block sw_condition_value_content %}
<div class="sw-condition-line-item-with-quantity">
    {% block sw_condition_line_item_with_quantity_field_product %}
    <sw-entity-single-select
        v-model:value="id"
        name="sw-field--id"
        entity="product"
        :disabled="disabled || undefined"
        :value="initialProduct"
        size="medium"
        advanced-selection-component="sw-advanced-selection-product"
        show-clearable-button
    />
    {% endblock %}

    {% block sw_condition_line_item_with_quantity_field_operator %}
    <sw-condition-operator-select
        v-bind="{ operators, condition }"
        :plural="matchesAll"
        :disabled="disabled || undefined"
    />
    {% endblock %}

    {% block sw_condition_line_item_with_quantity_field_quantity %}
    <mt-number-field
        v-model="quantity"
        name="sw-field--quantity"
        :disabled="disabled || undefined"
        size="medium"
        :step="1"
    />
    {% endblock %}
</div>
{% endblock %}
